package cn.org.eshow.service;

import cn.org.eshow.bean.query.WithdrawQuery;
import cn.org.eshow.common.page.Page;
import cn.org.eshow.model.Withdraw;

import java.util.List;

public interface WithdrawManager extends GenericManager<Withdraw, Integer> {

    List<Withdraw> list(WithdrawQuery query);

    Withdraw check(WithdrawQuery query);

    Page<Withdraw> search(WithdrawQuery query);

    Long count(WithdrawQuery query);

    /**
     * @param hql
     * @param params
     * @return
     */
    List<Withdraw> list(String hql, Object[] params);
}
